# -*- mode: python; -*-

Import("env")
Import("wiredtiger")

env = env.Clone()

env.SConscript(
    must_exist=1,
    dirs=[
        "util",
    ],
    exports=[
        "env",
    ],
)

env.Benchmark(
    target="collection_catalog_bm",
    source=[
        "collection_catalog_bm.cpp",
    ],
    LIBDEPS=[
        "$BUILD_DIR/mongo/db/concurrency/lock_manager",
        "$BUILD_DIR/mongo/db/multitenancy",
        "$BUILD_DIR/mongo/db/service_context_non_d",
        "collection_catalog",
        "collection_options",
    ],
)

if wiredtiger:
    env.CppUnitTest(
        target="db_catalog_test",
        source=[],
        LIBDEPS=[],
    )
